projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a1765
)
fix: mvebu: Add SPI parameters for environment setup
author
Konstantin Porotchkin
<
[email protected]
>
Wed, 29 Aug 2018 13:34:53 +0000
(16:34 +0300)
committer
Stefan Roese
<
[email protected]
>
Wed, 19 Sep 2018 07:02:34 +0000
(09:02 +0200)
Add definitions for CONFIG_ENV_SPI_BUS and CONFIG_ENV_SPI_CS
to Armada-388-GP board configuration
Signed-off-by: Konstantin Porotchkin <
[email protected]
>
Cc: Igal Liberman <
[email protected]
>
Cc: Stefan Roese <
[email protected]
>
Signed-off-by: Stefan Roese <
[email protected]
>
include/configs/db-88f6820-gp.h
patch
|
blob
|
history
diff --git
a/include/configs/db-88f6820-gp.h
b/include/configs/db-88f6820-gp.h
index ac810b0cbc548bcd3932af3182b330a9ebabfd59..f2aa21a43e5fe068b3f53970080c02dd5d9b2f37 100644
(file)
--- a/
include/configs/db-88f6820-gp.h
+++ b/
include/configs/db-88f6820-gp.h
@@
-28,6
+28,12
@@
#define CONFIG_SYS_I2C_SLAVE 0x0
#define CONFIG_SYS_I2C_SPEED 100000
+/*
+ * SPI Flash configuration for the environemnt access
+ */
+#define CONFIG_ENV_SPI_BUS 0
+#define CONFIG_ENV_SPI_CS 0
+
/* SPI NOR flash default params, used by sf commands */
#define CONFIG_SF_DEFAULT_SPEED 1000000
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3